package com.yeyks.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author fuchangshuai
 * @date 2019/3/12 5:49 PM
 */
@Data
@ApiModel(value = "preOrderParam", description = "确认订单页面参数")
public class PreOrderParam {
    /**
     * token
     */
    @ApiModelProperty(value = "token", required = true)
    private String token;
    /**
     * 入住时间
     */
    @ApiModelProperty(value = "checkInDate", required = true)
    private Long checkInDate;
    /**
     * 离开时间
     */
    @ApiModelProperty(value = "checkOutDate", required = true)
    private Long checkOutDate;
    /**
     * 预订的房间间数
     */
    @ApiModelProperty(value = "count", required = true)
    private Integer count = 1;
    /**
     * 备注
     */
    @ApiModelProperty(value = "remark")
    private String remark;
    /**
     * 券id
     */
    @ApiModelProperty(value = "couponId")
    private Integer couponId = 0;
    /**
     * 房间id
     */
    @ApiModelProperty(value = "roomId", required = true)
    private Integer roomId;
    /**
     * 支付类型（wxpay,alipay）
     */
    @ApiModelProperty(value = "type")
    private String type ;
    /**
     * 下单用户真实姓名
     */
    @ApiModelProperty(value = "name", required = true)
    private String name;
    /**
     * 下单用户手机号
     */
    @ApiModelProperty(value = "phone", required = true)
    private String phone;
}
